You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Curlynoodle" anon="" timestamp="2008-01-05T20:52:00Z" comment="[[Main Page]] moved to [[Western Pennsylvania Linux Users Group]]: Better title for the &quot;main page&quot;" />
          <rev user="MediaWiki default" anon="" timestamp="2008-04-05T20:03:28Z" comment="" />
          <rev user="Mhs" timestamp="2008-04-13T18:28:27Z" comment="Redirecting to [[Western Pennsylvania Linux Users Group]]" />
          <rev user="Mhs" timestamp="2008-04-13T19:45:19Z" comment="1 revision(s)" />
        </revisions>
      </page>
    </pages>
  </query>
</api>